package com.assignwork.mapper;

import com.assignwork.dto.AssignWorkDTO;
import com.assignwork.dto.WorkArrangeOtherSearchDTO;
import com.assignwork.entity.WorkArrangeOther;
import com.assignwork.vo.WorkArrangeOtherPageVO;
import com.assignwork.vo.WorkArrangeOtherVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName WorkArrangeOtherMapper
 * @Description 其他配工作业Mapper
 * @Author dujianyu
 * @Date 2023/12/11 7:44
 */
public interface WorkArrangeOtherMapper extends BaseMapper<WorkArrangeOther> {
    /**
     * 列表
     * @param dto 搜索参数
     * @param page 分页
     * @return List<WorkArrangeOtherPageVO>
     * @author dujianyu
     * @since 2023/12/11 14:15
     */
    List<WorkArrangeOtherPageVO> selectWaOtherPage(@Param("dto") WorkArrangeOtherSearchDTO dto, IPage page);

    List<WorkArrangeOtherVO> pageWorkArrangeOther(IPage<WorkArrangeOtherVO> page, @Param("dto") AssignWorkDTO dto);
}
